package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 参赛选手信息对象 cp_athlete
 *
 * @author zhangjinlei
 * @date 2022-04-25
 */
public class CpAthlete extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别:1-男 2-女 */
    @Excel(name = "性别:1-男 2-女")
    private String sex;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 国籍 */
    @Excel(name = "国籍")
    private String nationality;

    @Excel(name = "国籍Id")
    private Long countryId;

    @Excel(name = "图片url")
    private  String dialogImageUrl;

    @Excel(name = "图片名称")
    private  String imageName;
    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contcatWay;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String mailbox;

    /** 参与赛事 */
    @Excel(name = "参与赛事")
    private String participateEvent;

    /** 身体状况 1-正常、2-良好、3-异常 */
    @Excel(name = "身体状况 1-正常、2-良好、3-异常")
    private String physicalCondition;

    /** 核酸检测结果:0-阳性 1-阴性 */
    @Excel(name = "核酸检测结果:0-阳性 1-阴性")
    private String nucieicAcidTestResult;

    /** 队伍联系方式 */
    @Excel(name = "队伍联系方式")
    private String teamContact;

    /** 领队名称 */
    @Excel(name = "领队名称")
    private String leaderName;

    /** 备注 */
    private String extField;

    /** 备注子段1 */
    private String extField1;

    /** 备注子段2 */
    private String extField2;

    /** 是否删除 0-未删除 ，1-已删除 */
    private Integer isDeleted;

    /** 创建人ID */
    private Long createUserid;

    /** 创建人姓名 */
    private String createUsername;

    /** 服务器IP */
    private String serverIp;

    /** 最后修改人ID */
    private Long updateUserid;

    /** 最后修改人姓名 */
    private String updateUsername;

    public String getImageName() {
        return imageName;
    }

    public void setImageName(String imageName) {
        this.imageName = imageName;
    }

    public String getDialogImageUrl() {
        return dialogImageUrl;
    }

    public void setDialogImageUrl(String dialogImageUrl) {
        this.dialogImageUrl = dialogImageUrl;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setAge(Long age)
    {
        this.age = age;
    }

    public Long getAge()
    {
        return age;
    }
    public void setNationality(String nationality)
    {
        this.nationality = nationality;
    }

    public String getNationality()
    {
        return nationality;
    }
    public void setContcatWay(String contcatWay)
    {
        this.contcatWay = contcatWay;
    }

    public String getContcatWay()
    {
        return contcatWay;
    }
    public void setMailbox(String mailbox)
    {
        this.mailbox = mailbox;
    }

    public String getMailbox()
    {
        return mailbox;
    }
    public void setParticipateEvent(String participateEvent)
    {
        this.participateEvent = participateEvent;
    }

    public String getParticipateEvent()
    {
        return participateEvent;
    }
    public void setPhysicalCondition(String physicalCondition)
    {
        this.physicalCondition = physicalCondition;
    }

    public String getPhysicalCondition()
    {
        return physicalCondition;
    }
    public void setNucieicAcidTestResult(String nucieicAcidTestResult)
    {
        this.nucieicAcidTestResult = nucieicAcidTestResult;
    }

    public String getNucieicAcidTestResult()
    {
        return nucieicAcidTestResult;
    }
    public void setTeamContact(String teamContact)
    {
        this.teamContact = teamContact;
    }

    public String getTeamContact()
    {
        return teamContact;
    }
    public void setLeaderName(String leaderName)
    {
        this.leaderName = leaderName;
    }

    public String getLeaderName()
    {
        return leaderName;
    }
    public void setExtField(String extField)
    {
        this.extField = extField;
    }

    public String getExtField()
    {
        return extField;
    }
    public void setExtField1(String extField1)
    {
        this.extField1 = extField1;
    }

    public String getExtField1()
    {
        return extField1;
    }
    public void setExtField2(String extField2)
    {
        this.extField2 = extField2;
    }

    public String getExtField2()
    {
        return extField2;
    }
    public void setIsDeleted(Integer isDeleted)
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted()
    {
        return isDeleted;
    }
    public void setCreateUserid(Long createUserid)
    {
        this.createUserid = createUserid;
    }

    public Long getCreateUserid()
    {
        return createUserid;
    }
    public void setCreateUsername(String createUsername)
    {
        this.createUsername = createUsername;
    }

    public String getCreateUsername()
    {
        return createUsername;
    }
    public void setServerIp(String serverIp)
    {
        this.serverIp = serverIp;
    }

    public String getServerIp()
    {
        return serverIp;
    }
    public void setUpdateUserid(Long updateUserid)
    {
        this.updateUserid = updateUserid;
    }

    public Long getUpdateUserid()
    {
        return updateUserid;
    }
    public void setUpdateUsername(String updateUsername)
    {
        this.updateUsername = updateUsername;
    }

    public String getUpdateUsername()
    {
        return updateUsername;
    }


    public Long getCountryId() {
        return countryId;
    }

    public void setCountryId(Long countryId) {
        this.countryId = countryId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("sex", getSex())
            .append("age", getAge())
            .append("nationality", getNationality())
            .append("contcatWay", getContcatWay())
            .append("mailbox", getMailbox())
            .append("participateEvent", getParticipateEvent())
            .append("physicalCondition", getPhysicalCondition())
            .append("nucieicAcidTestResult", getNucieicAcidTestResult())
            .append("teamContact", getTeamContact())
            .append("leaderName", getLeaderName())
            .append("extField", getExtField())
            .append("extField1", getExtField1())
            .append("extField2", getExtField2())
            .append("isDeleted", getIsDeleted())
            .append("createUserid", getCreateUserid())
            .append("createUsername", getCreateUsername())
            .append("createTime", getCreateTime())
            .append("serverIp", getServerIp())
            .append("updateUserid", getUpdateUserid())
            .append("updateUsername", getUpdateUsername())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
